package org.lucava.boatskeeper.client.event.boat;

import com.google.gwt.event.shared.GwtEvent;

public class AddBoatEvent extends GwtEvent<AddBoatEventHandler> {
	public static Type<AddBoatEventHandler> TYPE = new Type<AddBoatEventHandler>();

	@Override
	public Type<AddBoatEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(AddBoatEventHandler handler) {
		handler.onAddBoat(this);
	}
}
